<template>
  <div class="diy-container">
    <el-card style="height:100%">
      <slot></slot>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "diyContainer",
  props: {
    block: {
      type: Boolean,
      default: false,
    },
  },
};
</script>

<style lang="scss">
.diy-container {
  padding: 8px 10px;
  border-radius: 10px;
  width: 100%;
  height: 100%;
}
</style>
